package com.matou.commons.constants;



/**
 * base 基础常量配置
 * @author chenmiao0212
 * @date 2021-06-03
 */
public class BaseConst {


    //数据库表  根节点id为-1
    public static final int ROOT_ID = -1;

    public static final String TOKEN_AUTH_HEADER = "Authorization"; //token的http请求头


    //防止接口幂等
    public static final String TICKET = "ticket";


    /**
     * Zuul请求头TOKEN名称（不要有空格）
     */
    public static final String ZUUL_TOKEN_HEADER = "ZuulToken";
    /**
     * Zuul请求头TOKEN值
     */
    public static final String ZUUL_TOKEN_VALUE = "cm:zuul:123456";

    /**
     * gif类型
     */
    public static final String GIF = "gif";
    /**
     * png类型
     */
    public static final String PNG = "png";

    /**
     * 验证码 key前缀
     */
    public static final String CODE_PREFIX = "cm.captcha.";



}
